From: Gabriel Wicke Date: Fri, 9 Apr 2004 14:57:05 +0000 (+0000) Subject: center -\> span, empty alt tag added (todo: span with class, fill alt tag) X-Git-Tag: 1.3.0beta1~522 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=fdaad9ec001f0a51e6b8ea905636db181ec876d0;p=lhc%2Fweb%2Fwiklou.git center -\> span, empty alt tag added (todo: span with class, fill alt tag) --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 437346279c..c805667fc0 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -26,7 +26,7 @@ class ImagePage extends Article { function openShowImage() { - global $wgOut, $wgUser; + global $wgOut, $wgUser,$wgRequest; $name = $this->mTitle->getText(); $path = wfImagePath( $name ); $url = wfImageUrl( $name ); @@ -38,9 +38,10 @@ class ImagePage extends Article { if ( $type != "" ) { # image - $s = "
"; + $s = "getVal( 'image' )."\" />"; } else { - $s = "
".$sk->makeMediaLink($name,"")."
"; + $s = "".$sk->makeMediaLink($name,"").""; } $wgOut->addHTML( $s ); }